<?php

namespace paper\constraint;

use paper\http\Request;
use paper\http\response\Response;

interface Controller
{
    function onBefore(Request $request);
    function onAfter(Response $response);

}